package com.groupseven.backend.services;

import com.groupseven.backend.domain.Patent.Patent;

import java.util.List;

public interface PatentService {
    List<Patent> getallPatents();

    Patent getPatentByPatentNumber(String PatentNumber);

    int AddPatentInfo(Patent patent);

    int updatePatentInfo(Patent patent);

    int deleteallPatents();

    int deletePatentByPatentNumber(String PatentNumber);

    //////////////////////////////////////////////////////
    int mutildelPatents(List<String> PatentNumbers);

    List<Patent> getlikePatentByPatentNumber(String PatentNumber);

    List<Patent> getlikePatentByPatentName(String PatentName);

    List<Patent> getlikePatentByusername(String username);

    List<Patent> getlikePatentByPatentAllAuthors(String PatentAllAuthors);
//////////////////////////////////////////////////////

    /////////////////////////////////
    List<Patent> searchqueryPatent(String query);
    ///////////////////////////////

    //////////////////////////////////////////
    List<Patent> searchuserqueryPatent (String query,String username);
    //////////////////////////////////////
}
